/**
 * 用户登录API
 */

export const login =()=>{
  return new Promise((resolve,reject)=>{
      setTimeout(()=>{
          resolve({
              code:200,
              data:{
                  token:'token'
              }
          })
      },1000)
  })
}

/**
 * 用户注册API
 * 
 *  */

export const register=()=>{
 setTimeout(()=>{
   console.log('注册成功')
 },1000)
}

export const addfeedback=()=>{
  setTimeout(()=>{
    console.log('反馈成功')
  },1000)
}